package com.demo.reservation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 用户信息表
 * @TableName pet_userinfo
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@TableName("pet_userinfo")
public class Userinfo implements Serializable {
    /**
     * 用户编号
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 电话
     */
    private String phone;

    /**
     * 性别
     */
    private String gender;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;
    /**
     * 所有的预约细信息
     */
//    @TableField(exist = false)
//    private List<Reservation> reservationList;

    private static final long serialVersionUID = 1L;

}